import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FileUploadModule } from '../../../lib/ng2-file-upload';
import { PaginationModule, ModalModule } from 'ngx-bootstrap';

import { VoucherBatchToUserComponent } from './voucher-batch-to-user/voucher-batch-to-user.component';
import { GridComponent } from './voucher-batch-to-user/list/grid.component';
import { VoucherBatchCreateComponent } from './voucher-batch-to-user/create/create.component';
import { ResultComponent } from './voucher-batch-to-user/list/result/result.component';
import { NgZorroAntdModule } from 'ng-zorro-antd';

@NgModule({
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    CommonModule,
    PaginationModule.forRoot(),
    ModalModule.forRoot(),
    FileUploadModule,
    NgZorroAntdModule
  ],
  declarations: [
    VoucherBatchToUserComponent,
    GridComponent,
    VoucherBatchCreateComponent,
    ResultComponent
  ],
  entryComponents: [
    VoucherBatchToUserComponent,
  ]
})
export class VoucherManagementModule { }
